/*
 * Copyright (c) 2006-2025, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2025-08-27     RT-Thread    first version
 */

#include <rtthread.h>

#define DBG_TAG "main"
#define DBG_LVL DBG_LOG
#include <rtdbg.h>
#include "usart.h"
#include "gpio.h"
int main(void)
{
    int count = 1;

    MX_GPIO_Init();
    //nijiama
    while (count++)
    {
        LOG_D("Hello RT-Thread!");
        HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_RESET);

        rt_thread_mdelay(1000);
        HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_SET);

        rt_thread_mdelay(1000);

    }

    return RT_EOK;
}
